package com.smart.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smart.common.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author metadata
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("project_report")
public class ProjectReportDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 项目id */
    @TableField("project_id")
    private Long projectId;
    /** 任务id */
    @TableField("task_id")
    private Long taskId;
    /** 任务类型 TEMP临时提报任务、WEEKLY周报任务 */
    @TableField("item_type")
    private String itemType;
    /** 提报内容 */
    @TableField("content")
    private String content;
    /** 提报状态 0未提报 1已提报 */
    @TableField("status")
    private Integer status;

    /** 业务字段：项目名称 */
    @TableField(exist = false)
    private String projectName;
    /** 业务字段：质量监督注册号 */
    @TableField(exist = false)
    private String qualityRegistrationNumber;
}
